<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>批量发货订单</title>
</head>
<style>
    table.delivery-address-table {
        border-collapse: collapse;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        text-align: center;
        width: 100%;
    }

    .delivery-address-table caption {
        font-size: 14px;
        line-height: 32px;
        font-weight: bold;
        padding: 5px 20px;
        border: 1px solid #ddd;
        border-bottom: none;
        background: #eee;
    }

    .delivery-address-table caption .number {
        float: left;
    }

    .delivery-address-table caption .time {
        float: right;
    }

    .delivery-address-table th, td {
        padding: 10px 5px;
        font-size: 14px;
        font-weight: normal;
        border: 1px solid #ddd;
    }

    .delivery-address-table tr th:first-child, .delivery-address-table tr td:first-child {
        max-width: 90px;
        overflow: hidden;
        white-space: normal;
    }
</style>
<body style="width:600px;min-height:100px;">
<div style="padding: 10px;">
    <form action="{url:/sellercoupon/save_update_num}" method="post"  id='num_form' name='num_form'>
        <table class="delivery-address-table">
            <span style="color: red">修改总数量，需等待后台数据生成</span>
            <caption>
                <span class="number">当前总数量：{if:$goods_sale_num}{$goods_sale_num}{else:}0{/if}&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;
                <span class="number">已发放：{if:$has_send}{$has_send}{else:}0{/if} &nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;
                <span class="number">剩余数量：{if:$remain}{$remain}{else:}0{/if}&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;
                <span class="number">已失效：{if:$out_date}{$out_date}{else:}0{/if}&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;
            </caption>
            <tbody>
            <tr>
                <td>总数量：</td>
                <td><input name="quantity" class="normal" type="text"/></td>
            </tr>
            </tbody>

        </table>
        <input name="coupon_id" type="hidden" value="{$coupon_id}"/>
    </form>
</div>
</body>
</html>